package org.example.design.One;

/**
 * @Auther:Liu
 * @Testname:DemoE
 * @Date:2025/8/15 9:54
 */
//单例枚举
public enum DemoE {
    //给几个属性就有几个实例
    INSTANCE;

    public void a(){
        System.out.println("Hello World");
    }

    public void b(){
        System.out.println("Hello World");
    }
}
